$(function () {
    get_balance("#")
})
function get_balance(url) {
    $.getJSON(url,
        { "msg": "get balance" },
        function (data) {
            if (true) {
                var balance = 0;
                $("#balance").html(balance);
            }
        }
    );
}